getTranslationY

open fun getTranslationY(view: View): Float(source)

Deprecated

Use getTranslationY directly.

The vertical location of this view relative to its top position. This position is post-layout, in addition to wherever the object's layout placed it.

Return

The vertical position of this view relative to its top position, in pixels.